package persistence.tcc.ada.ifmg.edu.br;

import android.content.Context;

public class AvaliacaoDataAccessObject {
	
	public static final String CREATE_TB_AVALIACAO = "create table tb_avaliacao(id_avaliacao integer not null primary key autoincrement, "
												   + "id_disciplina integer not null references tb_disciplina(id_disciplina), "
												   + "id_tipo_avaliacao integer not null references tb_tipo_avaliacao(id_tipo_avaliacao), "
												   + "id_aula integer not null references tb_aula(id_aula), "
												   + "valor_avaliacao real);";
	public static final String DROP_TB_AVALIACAO = "drop table tb_avaliacao";
	private static AvaliacaoDataAccessObject instance = null;
	
	private AvaliacaoDataAccessObject(Context c){
		
	}
	
	public static AvaliacaoDataAccessObject getInstance(Context c){
		if(instance == null)
			instance = new AvaliacaoDataAccessObject(c);
		return instance;
	}
	

}
